package com.sunyard.inser.sys.entity;

import java.io.Serializable;

/**
 * 用户
 * user_info
 * @author lzhang
 * @date 2021-01-21 19:30:31
 */
public class UserInfo implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
     */
    private Long userId;

    /**
     * 机构ID
     */
    private Long organizationId;

    /**
     * 名称
     */
    private String name;

    /**
     * 电话
     */
    private String telephone;

    /**
     * 手机
     */
    private String mobile;

    /**
     * email
     */
    private String email;

    /**
     * 性别
     */
    private String sex;

    /**
     * 编号
     */
    private String code;

    /**
     * 是否删除
     */
    private Byte isDelete;

    /**
     * 是否启用
     */
    private Byte isEnable;

    /**
     * 是否锁定
     */
    private Byte isLock;

    /**
     * 密码
     */
    private String passwd;

    /**
     * 用户类型 1 后台导入 2 人工添加
     */
    private String userType;

    /**
     * 手势密码
     */
    private String gesturePasswd;

    /**
     * 是否首次登陆
     */
    private Byte isFirstLogin;

    /**
     * 是否激活
     */
    private Byte isActive;

    /**
     * 身份证号
     */
    private String idCardNo;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public Byte getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Byte isEnable) {
        this.isEnable = isEnable;
    }

    public Byte getIsLock() {
        return isLock;
    }

    public void setIsLock(Byte isLock) {
        this.isLock = isLock;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd == null ? null : passwd.trim();
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType == null ? null : userType.trim();
    }

    public String getGesturePasswd() {
        return gesturePasswd;
    }

    public void setGesturePasswd(String gesturePasswd) {
        this.gesturePasswd = gesturePasswd == null ? null : gesturePasswd.trim();
    }

    public Byte getIsFirstLogin() {
        return isFirstLogin;
    }

    public void setIsFirstLogin(Byte isFirstLogin) {
        this.isFirstLogin = isFirstLogin;
    }

    public Byte getIsActive() {
        return isActive;
    }

    public void setIsActive(Byte isActive) {
        this.isActive = isActive;
    }

    public String getIdCardNo() {
        return idCardNo;
    }

    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo == null ? null : idCardNo.trim();
    }

	@Override
	public String toString() {
		return "UserInfo [userId=" + userId + ", organizationId=" + organizationId + ", name=" + name + ", telephone="
				+ telephone + ", mobile=" + mobile + ", email=" + email + ", sex=" + sex + ", code=" + code
				+ ", isDelete=" + isDelete + ", isEnable=" + isEnable + ", isLock=" + isLock + ", passwd=" + passwd
				+ ", userType=" + userType + ", gesturePasswd=" + gesturePasswd + ", isFirstLogin=" + isFirstLogin
				+ ", isActive=" + isActive + ", idCardNo=" + idCardNo + "]";
	}
    
    
}